package com.plr.booker;

public enum END_POINTS {

	AuthenticationWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/Authentication/AuthenticationWS",
			"authenticateUser"), DCAvailabilityWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/Availability/DCAvailabilityWS",
			"getACFlightAvailability"), DCScheduleWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/Schedule/DCScheduleWS",
			"getACFlightSchedule"), DCLowFareSearchWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/LowFareSearch/DCLowFareSearchWS",
			"getACLowFareFlightAvailability"), MultiCityLFSWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/LowFareSearch/MultiCityLFSWS",
			"getMultiCityFlightAvailability"), DCAncillaryWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/AirPrice/DCAncillaryWS",
			"getACOptionalServices"), DCReviewPNRWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/Review/DCReviewPNRWS",
			"getACReviewPNR"), DCAirFareRulesWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/AirFareRules/DCAirFareRulesWS",
			"getACAirFareRules"), DCAirBookWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/AirBook/DCAirBookWS",
			"getACAirBook"), DCRetrievePNRWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/RetrievePNR/DCRetrievePNRWS",
			"getRetrieveDetailsPNR"), DCAirBookModifyWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/AirBookModify/DCAirBookModifyWS",
			"getRebookReview getSeatModify"), DCAirSeatMapWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/AirSeatMap/DCAirSeatMapWS",
			"getSeatMap"), DCCancelPNRWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/CancelPNR/DCCancelPNRWS",
			"cancelPNR"), DCAirFlightStatusWS(
			"ws-ac2u.aircanada.com/20110328/DirectConnect/AirFlightStatus/DCAirFlightStatusWS",
			"getFlightStatus"),
			
		
				SMEEnrollmentWS_createAccount	(
						"ws-ac2u.aircanada.com/20110328/DirectConnect/SMEEnrollment/SMEEnrollmentWS",
			"createAccount"),
			SMEEnrollmentWS_getAccountDetails	(
					"ws-ac2u.aircanada.com/20110328/DirectConnect/SMEEnrollment/SMEEnrollmentWS",
		"getAccountDetails");

			;
	

	final private String endPoint;

	final private String method;

	static final private String PROD_PREFIX = "https://";

	static final private String UAT_PREFIX = "https://tst-";

	private END_POINTS(String endPoint, String method) {
		this.endPoint = endPoint;
		this.method = method;
	}

	public String getPRODEndPoint() {
		return PROD_PREFIX + endPoint;
	}

	public String getUATEndPoint() {
		return UAT_PREFIX + endPoint;
	}

	public String getMethod() {
		return method;
	}
	
	
}
